import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';

const routes: Routes = [
  { path: '', redirectTo: '/login', pathMatch: 'full'},
  { path: 'login', redirectTo: '/login', pathMatch: 'full'},
  { path: 'project', redirectTo: '/project', pathMatch: 'full'},
  { path: 'tasklist', redirectTo: '/tasklist', pathMatch: 'full'}
];

@NgModule({
  imports: [ RouterModule.forRoot(routes)],
  exports: [RouterModule]
})
export class AppRoutingModule { }
